<?php
class Register extends Controller{
	
	function register(){
		parent::Controller;
		
	}
	
	function index(){
		$dat['judul'] = 'Register';
		$dat['notif'] = '';
		$this->load->view('register_v', $dat);
	}
	
	function simpandata(){
		$this->load->model('register_m');
		$this->register_m->simpan();
		$dat['judul'] = 'Berhasil Register';
		$dat['notif'] = 'Berhasil Terdaftar';
		$this->load->view('register_v', $dat);
	}
}
?>